package xyz.xtt.pay.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author dale
 * @date 2025/1/15
 **/
@Schema(name = "跳转支付收银台参数", description = "跳转支付收银台参数")
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PayCenterPayParam {
    @Schema(description = "用户标识")
    private String userId;
    @Schema(description = "电话")
    private String mobile;
    @Schema(description = "第三方用户唯一标识")
    private String externalCode;
    @Schema(description = "订单类型")
    private String orderType;
    @Schema(description = "流水号")
    private String tradeNo;
    @Schema(description = "订单号")
    private String orderNo;
    @Schema(description = "支付总金额 请求支付总金额")
    private Double amountTotal;
    @Schema(description = "除虚拟货币之外的支付金额 支付金额")
    private Double amount;
    @Schema(description = "交易发生机构编码")
    private String occurOuCode;
    @Schema(description = "订单商品")
    private String body;
    @Schema(description = "可选择支付方式，微信支付：210；美付宝支付：220;宝付支付：240")
    private List<Integer> payMode;
    @Schema(description = "appId")
    private String appId;
    @Schema(description = "sign")
    private String sign;
    @Schema(description = "是否展示支付结果（宝付银行卡支付）")
    private String isPaymentResults = "true";
    @Schema(description = "backUrl")
    private String backUrl;
    @Schema(description = "商品id")
    private String goodsId;
}
